//
//  LocaMarkData.m
//  ShowYourLife
//
//  Created by 大帅逼 on 15/12/2.
//  Copyright © 2015年 helloApp. All rights reserved.
//

#import "LocaMarkData.h"

@implementation LocaMarkData

-(void)saveMark:(NSMutableArray *)mark{
    NSUserDefaults *markDefaultes = [NSUserDefaults standardUserDefaults];
    [markDefaultes setObject:mark forKey:@"markArray"];
    
    [markDefaultes synchronize];
}

- (NSMutableArray *)readMark{
    NSUserDefaults *markDefaultes = [NSUserDefaults standardUserDefaults];
    NSArray *markArray = [markDefaultes arrayForKey:@"markArray"];
    
    return [markArray copy];
}

@end
